package com.redwine.app.net.responses;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * 货源搜索
 * 作者：gassion on 17/8/12 11:51
 * 最可怕的敌人，就是没有坚强的信念。
 */
public class SupplyOfGoodsResponse extends BaseResponse {


    /**
     * data : {"data":[{"id":"1","category":"葡萄酒","produce":"阿富汗","name":"产品名称","city":"唐山市","switch":"1","price":"200.00","num":"10","content":"酒品描述","pic":"http://face.com/image/hongjiu/201708/04/192224375906.png","date":"2017-08-04 19:22:24.000000","status":"5","uid":"1","remain":"-13天-1小时-6分","quote_count":0},{"id":"2","category":"洋酒","produce":"爱尔兰","name":"产品名称","city":"石家庄市","switch":"1","price":"200.00","num":"10","content":"酒品描述","pic":"http://face.com/image/hongjiu/201708/04/192243922989.png,http://face.com/image/hongjiu/201708/04/192243338083.png","date":"2017-08-04 19:22:43.000000","status":"5","uid":"1","remain":"-13天-1小时-47分","quote_count":0},{"id":"3","category":"洋酒","produce":"埃及","name":"产品名称","city":"北京市","switch":"1","price":"200.00","num":"10","content":"酒品描述","pic":"http://face.com/image/hongjiu/201708/04/192804345358.png,http://face.com/image/hongjiu/201708/04/192804705839.png","date":"2017-08-04 19:28:04.000000","status":"5","uid":"1","remain":"-13天-1小时-26分","quote_count":"2"},{"id":"4","category":"红酒","produce":"阿根廷","name":"产品名称","city":"秦皇岛市","switch":"1","price":"200.00","num":"10","content":"酒品描述","pic":"http://face.com/image/hongjiu/201708/04/225135732285.png,http://face.com/image/hongjiu/201708/04/225135290813.png","date":"2017-08-04 22:51:35.000000","status":"5","uid":"1","remain":"-12天-21小时-55分","quote_count":"1"},{"id":"5","category":"洋酒","produce":"埃塞俄比亚","name":"红酒","city":"邢台市","switch":"1","price":"20.00","num":"2","content":"留言","pic":"","date":"2017-08-08 16:35:14.000000","status":"1","uid":"1","remain":"-9天-4小时-16分","quote_count":0},{"id":"6","category":"红酒","produce":"阿拉伯联合酋长国","name":"111","city":"唐山市","switch":"1","price":"20.00","num":"112","content":"111","pic":"http://face.com/image/hongjiu/201708/08/170542863335.png","date":"2017-08-08 17:05:42.000000","status":"1","uid":"1","remain":"-9天-3小时-48分","quote_count":0}],"allpage":1,"page":1}
     */

    private DataEntityX data;

    public DataEntityX getData() {
        return data;
    }

    public void setData(DataEntityX data) {
        this.data = data;
    }

    public static class DataEntityX {
        /**
         * data : [{"id":"1","category":"葡萄酒","produce":"阿富汗","name":"产品名称","city":"唐山市","switch":"1","price":"200.00","num":"10","content":"酒品描述","pic":"http://face.com/image/hongjiu/201708/04/192224375906.png","date":"2017-08-04 19:22:24.000000","status":"5","uid":"1","remain":"-13天-1小时-6分","quote_count":0},{"id":"2","category":"洋酒","produce":"爱尔兰","name":"产品名称","city":"石家庄市","switch":"1","price":"200.00","num":"10","content":"酒品描述","pic":"http://face.com/image/hongjiu/201708/04/192243922989.png,http://face.com/image/hongjiu/201708/04/192243338083.png","date":"2017-08-04 19:22:43.000000","status":"5","uid":"1","remain":"-13天-1小时-47分","quote_count":0},{"id":"3","category":"洋酒","produce":"埃及","name":"产品名称","city":"北京市","switch":"1","price":"200.00","num":"10","content":"酒品描述","pic":"http://face.com/image/hongjiu/201708/04/192804345358.png,http://face.com/image/hongjiu/201708/04/192804705839.png","date":"2017-08-04 19:28:04.000000","status":"5","uid":"1","remain":"-13天-1小时-26分","quote_count":"2"},{"id":"4","category":"红酒","produce":"阿根廷","name":"产品名称","city":"秦皇岛市","switch":"1","price":"200.00","num":"10","content":"酒品描述","pic":"http://face.com/image/hongjiu/201708/04/225135732285.png,http://face.com/image/hongjiu/201708/04/225135290813.png","date":"2017-08-04 22:51:35.000000","status":"5","uid":"1","remain":"-12天-21小时-55分","quote_count":"1"},{"id":"5","category":"洋酒","produce":"埃塞俄比亚","name":"红酒","city":"邢台市","switch":"1","price":"20.00","num":"2","content":"留言","pic":"","date":"2017-08-08 16:35:14.000000","status":"1","uid":"1","remain":"-9天-4小时-16分","quote_count":0},{"id":"6","category":"红酒","produce":"阿拉伯联合酋长国","name":"111","city":"唐山市","switch":"1","price":"20.00","num":"112","content":"111","pic":"http://face.com/image/hongjiu/201708/08/170542863335.png","date":"2017-08-08 17:05:42.000000","status":"1","uid":"1","remain":"-9天-3小时-48分","quote_count":0}]
         * allpage : 1
         * page : 1
         */

        private int allpage;
        private int page;
        private List<DataEntity> data;

        public int getAllpage() {
            return allpage;
        }

        public void setAllpage(int allpage) {
            this.allpage = allpage;
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public List<DataEntity> getData() {
            return data;
        }

        public void setData(List<DataEntity> data) {
            this.data = data;
        }

        public static class DataEntity implements Serializable {
            /**
             * id : 1
             * category : 葡萄酒
             * produce : 阿富汗
             * name : 产品名称
             * city : 唐山市
             * switch : 1
             * price : 200.00
             * num : 10
             * content : 酒品描述
             * pic : http://face.com/image/hongjiu/201708/04/192224375906.png
             * date : 2017-08-04 19:22:24.000000
             * status : 5
             * uid : 1
             * remain : -13天-1小时-6分
             * quote_count : 0
             */

            private String id;
            private String category;
            private String produce;
            private String name;
            private String city;
            @SerializedName("switch")
            private String switchX;
            private String price;
            private String num;
            private String content;
            private String pic;
            private String date;
            @SerializedName("status")
            private String statusX;
            private String uid;
            private String remain;
            private int quote_count;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCategory() {
                return category;
            }

            public void setCategory(String category) {
                this.category = category;
            }

            public String getProduce() {
                return produce;
            }

            public void setProduce(String produce) {
                this.produce = produce;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getSwitchX() {
                return switchX;
            }

            public void setSwitchX(String switchX) {
                this.switchX = switchX;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getStatusX() {
                return statusX;
            }

            public void setStatusX(String statusX) {
                this.statusX = statusX;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getRemain() {
                return remain;
            }

            public void setRemain(String remain) {
                this.remain = remain;
            }

            public int getQuote_count() {
                return quote_count;
            }

            public void setQuote_count(int quote_count) {
                this.quote_count = quote_count;
            }
        }
    }
}
